﻿<%@ Page Title="管理员列表" Language="C#" MasterPageFile="~/Admin/Admin.Master" AutoEventWireup="true"
    CodeBehind="AdminList.aspx.cs" Inherits="StarClub.Web.Admin.AdminList" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <dl class="m_tit">
        <dt>管理员列表</dt>
        <dd class="mt_bt">
            <input class="pwb_bt" type="button" onclick="window.location='AddAdmin.aspx';" value="增加管理员" /></dd>
    </dl>
    <div class="tab">
        <asp:ListView ID="ListView1" runat="server" 
            onitemcommand="ListView1_ItemCommand">
            <LayoutTemplate>
                <table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tr class="t_tit">
                        <td width="30%">
                            登录名
                        </td>
                        <td width="30%" class="tk_6">
                            <span class="nl_7">操作项目</span>
                        </td>
                        <td width="40%" class="tk_6">
                            &nbsp;
                        </td>
                    </tr>
                    <asp:PlaceHolder ID="itemPlaceholder" runat="server"></asp:PlaceHolder>
                </table>
            </LayoutTemplate>
            <ItemTemplate>
                <tr class="t_con">
                    <td>
                        <%#Eval("name")%>
                        /
                        <%#Eval("email")%>
                    </td>
                    <td>
                        <asp:Button ID="btnEidit" runat="server" CssClass="pwb_bt" Text="编辑权限" CommandName="EiditRight"
                            CommandArgument='<%#Eval("uid") %>' />
                        &nbsp;&nbsp;
                        <asp:Button ID="btnDelete" runat="server" CssClass="pwb_bt del" Text="删除" CommandName="DeleteAdmin"
                            CommandArgument='<%#Eval("uid") %>' OnClientClick="return confirm('确定要删除该管理员的权限？');" />
                    </td>
                    <td>
                        &nbsp;
                    </td>
                </tr>
            </ItemTemplate>
        </asp:ListView>
    </div>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder2" runat="server">
</asp:Content>
